# -*- coding: utf-8 -*-
import re
text = input("Please input your Email address：\n")
pattern=re.compile(r'^[0-9a-zA-Z_]{0,19}@[0-9a-zA-Z]{1,13}\.[com,cn,net]{1,3}$')  #匹配所有邮箱格式
if re.match(pattern,text):
    print('Email address is Right!')
else:
    print('Email address is not Right!')